package com.example.administrator.energyida.beans;

import java.util.List;

public class CompanyBean {

    /**
     * code : 10007
     * message : 查询成功
     * content : [{"id":"1","email":"admin@qq.com","password":"admin","regTime":"1557387535","permission":"1","city":"上海市","company":"上海虹桥站","phone":"112","longitude":"121.320038","latitude":"31.193987"}]
     */

    private String code;
    private String message;
    private List<ContentBean> content;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<ContentBean> getContent() {
        return content;
    }

    public void setContent(List<ContentBean> content) {
        this.content = content;
    }

    public static class ContentBean {
        /**
         * id : 1
         * email : admin@qq.com
         * password : admin
         * regTime : 1557387535
         * permission : 1
         * city : 上海市
         * company : 上海虹桥站
         * phone : 112
         * longitude : 121.320038
         * latitude : 31.193987
         */

        private String id;
        private String email;
        private String password;
        private String regTime;
        private String permission;
        private String city;
        private String company;
        private String phone;
        private double longitude;
        private double latitude;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getRegTime() {
            return regTime;
        }

        public void setRegTime(String regTime) {
            this.regTime = regTime;
        }

        public String getPermission() {
            return permission;
        }

        public void setPermission(String permission) {
            this.permission = permission;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }
    }
}
